projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f39427
)
Add a newline to the fscanf format string used to parse /proc/net/dev entries, to...
author
josht@us.ibm.com
<josht@us.ibm.com>
Mon, 22 Aug 2005 23:28:50 +0000
(
00:28
+0100)
committer
josht@us.ibm.com
<josht@us.ibm.com>
Mon, 22 Aug 2005 23:28:50 +0000
(
00:28
+0100)
tools/xenstat/libxenstat/src/xenstat.c
patch
|
blob
|
history
diff --git
a/tools/xenstat/libxenstat/src/xenstat.c
b/tools/xenstat/libxenstat/src/xenstat.c
index e37ba9c25a3cee132c72a9321a44df255e63cec0..85ffc0872d744e383169b986fd24b54391fdb579 100644
(file)
--- a/
tools/xenstat/libxenstat/src/xenstat.c
+++ b/
tools/xenstat/libxenstat/src/xenstat.c
@@
-505,7
+505,7
@@
static int xenstat_collect_networks(xenstat_handle * handle,
unsigned int domid;
int ret = fscanf(handle->procnetdev,
"vif%u.%u:%llu%llu%llu%llu%*u%*u%*u%*u"
- "%llu%llu%llu%llu%*u%*u%*u%*u",
+ "%llu%llu%llu%llu%*u%*u%*u%*u
\n
",
&domid, &net.id,
&net.tbytes, &net.tpackets, &net.terrs,
&net.tdrop,